home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <stdlib.h>
- #include <winb.h>
- #include <te.h>
- #include <fntb.h>
- #include <gui.h>
-
- extern int note_windowId ;
- extern int igo_oper() ;
- extern int title_messageId[12] ;
- extern int textcommentId[10] ;
-
- #define ALIGN 4
- #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
-
- /* MMI_init 用データ */
-
- /* ヘッダ */
-
- MMIINIT initDataMINOTE = { "MmiInit", 23, 0 } ;
-
- /* note_windowId */
-
- static MMIPACKET d001 = { ¬e_windowId,
- NULL,
- &MJ_WINDOWL40,
- OFFSET(WINDOWL40),
- MS_NONE
- } ;
- static WINDOWL40 d001d = { MS_BTRIGHTL40 | MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_TITLEL40 | MS_CLOSEL40,
- 0, 22, 175, 467, 8, 7, 9,
- MS_NONEL40,
- NULL, 0, 0,
- 1, 17, 176, 446,
- 128, 96, 640, 480,
- igo_oper,
- "添え書き",
- } ;
-
- /* title_messageId[0] */
-
- static MMIPACKET d002 = { &title_messageId[0],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d002d = { MS_CENTERL40 | MS_DSPONLYL40,
- 2, 40, 77, 57, 8,15, 8,
- MS_NONEL40,
- "対局記録",
- 1, 12, 12,
- MS_NONEL40,
- 5, 0
- } ;
-
- /* title_messageId[1] */
-
- static MMIPACKET d003 = { &title_messageId[1],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d003d = { MS_LEFTL40 | MS_DSPONLYL40,
- 2, 57, 51, 75, 8,15, 8,
- MS_NONEL40,
- "対局者 黒",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[2] */
-
- static MMIPACKET d004 = { &title_messageId[2],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d004d = { MS_LEFTL40 | MS_DSPONLYL40,
- 2, 75, 52, 93, 8,15, 8,
- MS_NONEL40,
- "対局者 白",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[3] */
-
- static MMIPACKET d005 = { &title_messageId[3],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d005d = { MS_LEFTL40 | MS_DSPONLYL40,
- 2, 94, 51, 109, 8,15, 8,
- MS_NONEL40,
- "対局開始",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[4] */
-
- static MMIPACKET d006 = { &title_messageId[4],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d006d = { MS_LEFTL40 | MS_DSPONLYL40,
- 4, 131, 46, 147, 8,15, 8,
- MS_NONEL40,
- "対局終了",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[5] */
-
- static MMIPACKET d007 = { &title_messageId[5],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d007d = { MS_LEFTL40 | MS_DSPONLYL40,
- 5, 171, 51, 186, 8,15, 8,
- MS_NONEL40,
- "対局場所",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[6] */
-
- static MMIPACKET d008 = { &title_messageId[6],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d008d = { MS_LEFTL40 | MS_DSPONLYL40,
- 5, 217, 51, 232, 8,15, 8,
- MS_NONEL40,
- "コミ",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[7] */
-
- static MMIPACKET d009 = { &title_messageId[7],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d009d = { MS_LEFTL40 | MS_DSPONLYL40,
- 6, 239, 52, 254, 8,15, 8,
- MS_NONEL40,
- "結果",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[8] */
-
- static MMIPACKET d010 = { &title_messageId[8],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d010d = { MS_LEFTL40 | MS_DSPONLYL40,
- 3, 276, 49, 291, 8,15, 8,
- MS_NONEL40,
- "コメント",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[9] */
-
- static MMIPACKET d011 = { &title_messageId[9],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d011d = { MS_LEFTL40 | MS_DSPONLYL40,
- 76, 43, 170, 56, 8, 7, 8,
- MS_NONEL40,
- " ",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[10] */
-
- static MMIPACKET d012 = { &title_messageId[10],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d012d = { MS_LEFTL40 | MS_DSPONLYL40,
- 5, 192, 51, 207, 8,15, 8,
- MS_NONEL40,
- "置き石",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* title_messageId[11] */
-
- static MMIPACKET d013 = { &title_messageId[11],
- ¬e_windowId,
- &MJ_MSGL40,
- OFFSET(MSGL40),
- MS_NONE
- } ;
- static MSGL40 d013d = { MS_LEFTL40 | MS_DSPONLYL40,
- 3, 261, 52, 276, 8,15, 8,
- MS_NONEL40,
- "アゲハマ ",
- 1, 12, 12,
- MS_NONEL40,
- 0, 0
- } ;
-
- /* textcommentId[0] */
-
- static MMIPACKET d014 = { &textcommentId[0],
- ¬e_windowId,
- &MJ_TEXTL40,
- OFFSET(TEXTL40),
- MS_NONE
- } ;
- static TEXTL40 d014d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 58, 59, 170, 75, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- -1, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
- /* textcommentId[1] */
-
- static MMIPACKET d015 = { &textcommentId[1],
- ¬e_windowId,
- &MJ_TEXTL40,
- OFFSET(TEXTL40),
- MS_NONE
- } ;
- static TEXTL40 d015d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 58, 77, 170, 93, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- -1, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
- /* textcommentId[2] */
-
- static MMIPACKET d016 = { &textcommentId[2],
- ¬e_windowId,
- &MJ_TEXTL40,
- OFFSET(TEXTL40),
- MS_NONE
- } ;
- static TEXTL40 d016d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 3, 110, 171, 129, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- -1, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
- /* textcommentId[3] */
-
- static MMIPACKET d017 = { &textcommentId[3],
- ¬e_windowId,
- &MJ_TEXTL40,
- OFFSET(TEXTL40),
- MS_NONE
- } ;
- static TEXTL40 d017d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 4, 147, 170, 167, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- -1, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
- /* textcommentId[4] */
-
- static MMIPACKET d018 = { &textcommentId[4],
- ¬e_windowId,
- &MJ_TEXTL40,
- OFFSET(TEXTL40),
- MS_NONE
- } ;
- static TEXTL40 d018d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 58, 171, 169, 189, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- -1, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
- /* textcommentId[5] */
-
- static MMIPACKET d019 = { &textcommentId[5],
- ¬e_windowId,
- &MJ_TEXTL40,
- OFFSET(TEXTL40),
- MS_NONE
- } ;
- static TEXTL40 d019d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 58, 213, 170, 232, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- -1, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
- /* textcommentId[6] */
-
- static MMIPACKET d020 = { &textcommentId[6],
- ¬e_windowId,
- &MJ_TEXTL40,
- OFFSET(TEXTL40),
- MS_NONE
- } ;
- static TEXTL40 d020d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 58, 237, 169, 255, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- -1, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
- /* textcommentId[7] */
-
- static MMIPACKET d021 = { &textcommentId[7],
- ¬e_windowId,
- &MJ_TEXTL40,
- OFFSET(TEXTL40),
- MS_NONE
- } ;
- static TEXTL40 d021d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 3, 289, 171, 465, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- -1, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
- /* textcommentId[8] */
-
- static MMIPACKET d022 = { &textcommentId[8],
- ¬e_windowId,
- &MJ_TEXTL40,
- OFFSET(TEXTL40),
- MS_NONE
- } ;
- static TEXTL40 d022d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 59, 192, 170, 210, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- -1, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
- /* textcommentId[9] */
-
- static MMIPACKET d023 = { &textcommentId[9],
- ¬e_windowId,
- &MJ_TEXTL40,
- 0,
- MS_NONE
- } ;
- static TEXTL40 d023d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_HORIL40 | MS_DSPONLYL40,
- 58, 259, 169, 277, 8,15, 8,
- MS_FRAMEL40,
- 0,
- 0, 0, 0, 0,
- 0, 0, 0, 0, 0,
- 12, 0, 0,
- 0, 0, 0, 0,
- 0,
- 0, 0, 0, 0,
- 1, 12, 12, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0,
- 24
- } ;
-
-